projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1635998
)
gtkplacessidebar.c: fix coding style
author
Geyslan G. Bem
<geyslan@gmail.com>
Wed, 28 Apr 2021 11:42:59 +0000
(08:42 -0300)
committer
Geyslan G. Bem
<geyslan@gmail.com>
Wed, 28 Apr 2021 11:42:59 +0000
(08:42 -0300)
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index c57031be07df116bd07827627e28d9c352c7c937..ff29383f22e32ee24d8c05741f1a9eeb41ead9ce 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-796,9
+796,8
@@
on_bookmark_query_info_complete (GObject *source,
/* Don't add non-UTF-8 bookmarks */
bookmark_name = g_file_get_basename (root);
if (bookmark_name == NULL)
- {
- goto out;
- }
+ goto out;
+
if (!g_utf8_validate (bookmark_name, -1, NULL))
{
g_free (bookmark_name);